package edu.hpu.mapper;

import edu.hpu.pojo.Role;
import edu.hpu.pojo.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
    User loadUserByUsername(String username);
    List<Role> getUserRolesByUid (Integer id) ;
}
